package cn.nexd.map.rendering.core.componet.data;

import java.util.List;
import java.util.Map;

import cn.nexd.map.rendering.core.componet.data.Feature;

/**
 * Created by codingfish on 15/7/21.
 */
public class FloorsFeature {

    private long floor_id;// 楼层ID
    private String location;//建筑名称
    private String floor;// 当前楼层
    private float north;
    private float width;
    private float height;
    private List<Map<Long, Feature>> features;
    private float offset_x;//坐标X轴偏移量
    private float offset_y;//坐标Y轴偏移量

    private float maxX;
    private float maxY;
    private float minX;
    private float minY;

    public float getMinX() {
        return minX;
    }

    public void setMinX(float minX) {
        this.minX = minX;
    }

    public float getMinY() {
        return minY;
    }

    public void setMinY(float minY) {
        this.minY = minY;
    }

    public float getMaxX() {
        return maxX;
    }

    public void setMaxX(float maxX) {
        this.maxX = maxX;
    }

    public float getMaxY() {
        return maxY;
    }

    public void setMaxY(float maxY) {
        this.maxY = maxY;
    }

    public float getOffset_x() {
        return offset_x;
    }

    public void setOffset_x(float offset_x) {
        this.offset_x = offset_x;
    }

    public float getOffset_y() {
        return offset_y;
    }

    public void setOffset_y(float offset_y) {
        this.offset_y = offset_y;
    }

    public float getWidth() {
        return width;
    }

    public void setWidth(float width) {
        this.width = width;
    }

    public float getHeight() {
        return height;
    }

    public void setHeight(float height) {
        this.height = height;
    }


    public FloorsFeature() {
    }

    public long getFloor_id() {
        return floor_id;
    }

    public void setFloor_id(long floor_id) {
        this.floor_id = floor_id;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getFloor() {
        return floor;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    public float getNorth() {
        return north;
    }

    public void setNorth(float north) {
        this.north = north;
    }

    public List<Map<Long, Feature>> getFeatures() {
        return features;
    }

    public void setFeatures(List<Map<Long, Feature>> features) {
        this.features = features;
    }


//    public List<Node> getStrokeNode() {
//        return strokeNode;
//    }
//
//    public void setStrokeNode(List<Node> strokeNode) {
//        this.strokeNode = strokeNode;
//    }

//    private List<Node> strokeNode;

    public List<List<Node>> getStrokeNodes() {
        return strokeNodes;
    }

    public void setStrokeNodes(List<List<Node>> strokeNodes) {
        this.strokeNodes = strokeNodes;
    }

    private List<List<Node>> strokeNodes;

    @Override
    public String toString() {

        return "" + "floor_id:" + floor_id + "\n"
                + "location:" + location + "\n"
                + "floor:" + floor + "\n"
                + "north:" + north + "\n"
                + "featureSize:" + features.size();
    }
}
